package com.liu.shop.service;

import com.liu.shop.common.vo.OrderVo;
import com.liu.shop.common.vo.StockVo;
import com.liu.shop.entity.OrderEntity;

import java.util.List;
import java.util.concurrent.ExecutionException;


public interface OrderService {
    public String create(OrderVo orderVo) throws ExecutionException, InterruptedException;

    OrderEntity getOrderById(String orderId);

    void updateOrderStatus(String orderId, Integer status);

    List<StockVo> getStockVoListOrderId(String orderId);
}
